home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
cad_gen
/
tre.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-09-12
|
1KB
|
91 lines
/* Revision 6.1.0S */
quit
setup macro message_pause off ; ;
quit
setup
coordsystem global
unit length in angle deg;;
quit measure location digitize exact quit
quit
add surface extrusion
name "Ext_Surf.2"
tolerance 0.05
thickness 0
direction
0 0 0
1 0 0
open
define_curve draft_angle 0
depth 32.8
start 0 4 -1.5
line 0 -4 -1.5
line 0 -4 1.5
line 0 4 1.5
line 0 4 -1.5
;
;
;;;;
quit
add solid extrusion
name "Ext_Solid.2"
tolerance 0.05
direction
0 0 0
0 0 -1
define_curve draft_angle 0
depth 3
start 8.09 1.38 1.5
line 8.09 -4 1.5
line 24.71 -4 1.5
line 24.71 1.38 1.5
line 8.09 1.38 1.5
;
;
;;;;
quit
construct subtraction keep_tools_off
name "Subtract.1"
tool1 "Ext_Surf.2"
tool2 "Ext_Solid.2"
; quit
quit
add solid box
name "Solid_Box.18"
points pick digitize exact
11.15 5 -2.5
11.15 0 -2.5
21.65 5 -2.5
11.15 5 2.5
;;;;
quit
construct region solid_cut keep_tools_off
name "Region.45"
tool1 "Subtract.1"
tool2 "Solid_Box.18"
; quit
quit
add solid box
name "Solid_Box.15"
points pick digitize exact
34.8 -0.999999999999986 -6.50000000000001
-5.2 -0.999999999999991 -6.50000000000001
34.8 -11 -6.50000000000001
34.8 -0.999999999999986 3.49999999999999
;;;;
quit
construct region solid_cut keep_tools_off
name "Region.45"
tool1 "Region.45"
tool2 "Solid_Box.15"
; quit
;;quit
modify csg_tree recover